<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>菩提阁</title>
    <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
    <link rel="stylesheet" href="css/base.css">
    <link rel="stylesheet" href="css/pages/add-order.css">
    <link rel="stylesheet" href="font/iconfont.css">
    <link rel="stylesheet" href="css/pages/vant.min.css">
</head>

<body>
    <div id="add_order" class="app">
        <div class="divHead">
            <div class="divTitle">
                <i class="iconfont icon-arrow-left"></i>菩提阁
            </div>
        </div>
        <div class="divContent">
            <div class="divAddress">
                <div>
                    <div class="address">黑马程序员4楼</div>
                    <div class="name">
                        <span id="xm">李四</span><span id="sex">先生</span> <span id="telp">18868816185</span>
                    </div>
                    <i class="iconfont icon-arrow-right"></i>
                </div>
                <div class="divSplit"></div>
                <div class="divFinishTime">预计<span id="sj">17:51</span>送达</div>
            </div>
            <div class="order">
                <div class="title">订单明细</div>
                <div class="divSplit"></div>
                <div class="itemList">
                    <div class="item">
                        <div class="el-image">
                            <img src="/common/download?name=5e72bdd9-9529-4b47-8018-7aa83a122f6a.jpg"
                                class="el-image__inner" />
                        </div>
                        <div class="desc">
                            <div class="name">辣子鸡</div>
                            <div class="numPrice">
                                <span class="num">x3</span>
                                <div class="price">
                                    <span class="spanMoney">￥</span><span>78</span>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="item">
                        <div class="el-image">
                            <img src="/common/download?name=5e72bdd9-9529-4b47-8018-7aa83a122f6a.jpg"
                                class="el-image__inner" />
                            <!---->
                        </div>
                        <div class="desc">
                            <div class="name">毛氏红烧肉</div>
                            <div class="numPrice">
                                <span class="num">x1</span>
                                <div class="price">
                                    <span class="spanMoney">￥</span><span>68</span>
                                </div>
                            </div>
                        </div>
                    </div>

                </div>
            </div>
            <div class="note">
                <div class="title">备注</div>
                <div class="van-cell van-field">
                    <div class="van-cell__value van-cell__value--alone van-field__value">
                        <div class="van-field__body">
                            <textarea rows="2" placeholder="请输入您需要备注的信息" class="van-field__control"></textarea>
                            <div class="van-field__word-limit">
                                <span class="van-field__word-num">0</span>/50
                            </div>
                        </div>

                    </div>
                </div>
            </div>
        </div>
        <div class="divCart">
            <div class="imgCartActive preson-car"></div>
            <div class="divGoodsNum">4</div>
            <div class="divPrice"><span>￥</span> <span class="sum-price">302</span></div>
            <div class="btnSubmitActive spend">去支付</div>
        </div>
    </div>

    <script src="./lib/jquery.js"></script>
    <script src="./lib/template-web.js"></script>
    <!-- 新增订单模板结构 -->
    <script type="text/html" id="tpl-order">
        {{each data}}
        <div class="item">
            <div class="el-image">
                <img src="http://121.4.102.44:8083/common/download?name={{$value.image}}"
                    class="el-image__inner" />
            </div>
            <div class="desc">
                <div class="name">{{$value.name}}</div>
                <div class="numPrice">
                    <span class="num">x<span class="p-num">{{$value.number}}</span></span>
                    <div class="price">
                        <span class="spanMoney">￥</span><span class="p-sum">{{$value.amount}}</span>
                    </div>
                </div>
            </div>
        </div>
        {{/each}}
    </script>

    <script src="./js/baseAPI.js"></script>
    <script src="./js/order.js"></script>
</body>

</html>